package com.alibaba.dubbo.demo.provider.util.mybatis;

import java.sql.Types;

import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType;
import org.mybatis.generator.internal.types.JavaTypeResolverDefaultImpl;

public class JavaTypeResolver extends JavaTypeResolverDefaultImpl {

	public JavaTypeResolver() {
		super();
		  typeMap.put(Types.DECIMAL, new JdbcTypeInformation("DECIMAL", //$NON-NLS-1$
	                new FullyQualifiedJavaType(Double.class.getName())));
	}
	
	

}
